﻿

namespace LxCFD
{
    public class Value1FromArray1<T> : Value1Base<T>
    {
        public T[] CommonArray;
        public void setParameter(T[] array)
        {
            this.CommonArray = array;
        }
        public override T GetCellValue(int cellIndex)
        {
            return CommonArray[cellIndex];
        }
        public override T GetFaceValue(int faceIndex)
        {
            return CommonArray[faceIndex];
        }

    }
}
